package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-06-03
 * Time: 19:06
 */
//Animal.java
public class Animal {
    public String name;
    public int age;

    public void eat(){
        System.out.println(this.name + "正在吃饭...");
    }

}
